package xyz.renyumeng.xkm.redis;

public class RedisConstants {
    public static final String LOGIN_CODE_KEY = "login:code:";
    public static final Long LOGIN_CODE_TTL = 2L;

    public static final String LOGIN_USER_KEY = "login:token:";
    public static final Long LOGIN_USER_TTL = 30L;

    public static final String CACHE_SHOP_KEY = "cache:shop:";

    public static final Long CACHE_SHOP_TTL = 30L;
    public static final Long CACHE_NULL_TTL = 2L;
    public static final String LOCK_SHOP_KEY = "lock:shop:";
    public static final Long LOCK_SHOP_TTL = 10L;

    public static final String CACHE_SHOP_TYPE_KEY = "cache:shopType";

    public static final String SECKILL_STOCK = "seckill:stock:";

    public static final String BLOG_LIKED_KEY = "blog:liked:";

    public static final String FEED_KEY = "feed:";

    public static final String SHOP_GEO_KEY = "shop:geo:";
    public static final String USER_SIGN_KEY = "sign:";

    public static final String QUEUE_ORDER_KEY = "order:queue:";
    public static final Long QUEUE_ORDER_TTL = 2L;

    public static final String ORDER_INFO_KEY = "order:info:";

    public static final Long ORDER_INFO_TTL = 1L;

    public static final String LOCK_ORDER_INFO_KEY = "lock:order:";
    public static final Long LOCK_ORDER_INFO_TTL = 10L;




}
